home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Installation script for AVL 1.00 (15. August 1999)
- ; © Stefan Robl
- ; Created with GoldED 6.1
-
-
- ; check if we are running under correct OS
- (if (< (/ (getversion) 65536) 39)
- (
- (abort "Incorrect OS version (software requires OS 39 or better )!")
- )
- )
-
- ; error handling
- (onerror
- (if (> @ioerr 0)
- (
- (message
- ("An error has occurred during installation. Please check the log file to understand the error.")
- )
- )
- )
- (exit (quiet))
- )
-
-
-
- (welcome)
-
-
- (set @default-dest
- (askdir
- (prompt "Please choose the installation path for AVL:\n(a new folder named \"AVL\" will be created there)")
- (help "Installation creates a new folder \"AVL\" in the path you specify.")
- (default @default-dest)
- )
- )
-
-
- (COMPLETE 0) ; makedir FrameMachine
- (makedir (tackon @default-dest "AVL") (infos))
-
-
- (COMPLETE 20) ; copy wizard.library
- (copylib
- (prompt "Copying wizard.library to LIBS:")
- (help @copylib-help)
- (source "libs/wizard.library")
- (dest "LIBS:")
- (confirm)
- )
-
-
- (COMPLETE 40)
- (copyfiles
- (source "")
- (dest (tackon @default-dest "AVL"))
- (infos)
- (pattern "AVL#?")
- (optional "oknodelete" "force")
- )
-
-
- (COMPLETE 60)
- (makedir (tackon @default-dest "AVL/Landscapes") (infos))
-
-
- (COMPLETE 80)
- (copyfiles
- (source "Landscapes/")
- (dest (tackon @default-dest "AVL/Landscapes"))
- (infos)
- (pattern "#?.avl")
- (optional "oknodelete" "force")
- )
-
-
- (COMPLETE 100)
-
-
- (exit)
-
-